﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucNewsDetail.ascx.cs"
    Inherits="Indochinaodyssey.UserControl.News.NewsDetail" %>
<asp:DataList ID="DataList1" runat="server" Width="100%" DataSourceID="ObjectDataSource1">
    <ItemTemplate>
        <div>
            <table style="width: 100%;">
                <tr>
                    <td>
                        <div class="link-item-container">
                            <img alt="tab" class="tab" src="../../Style/Images/tab_right.png" />
                            <b>
                                <asp:HyperLink ID="HyperLink1" runat="server" CssClass="link-normal-2" NavigateUrl='<%# "~/newsdetail.aspx?id="+ Eval("Id") %>'><%# Eval("TieuDe") %></asp:HyperLink>
                            </b>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label2" runat="server" Style="color: #999999; font-style: italic;
                            font-size: 11px;" Text='<%# Eval("NgayDang") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblNote" runat="server" Text='<%# Eval("GhiChu") %>' Font-Size="12px"
                            Font-Bold="True"></asp:Label>
                        <br />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label4" runat="server" Text='<%# Eval("NoiDung") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>More:</strong>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:DataList ID="DataList2" runat="server" DataSourceID="ObjectDataSource2" Width="100%">
                            <ItemTemplate>
                                <div class="link-item-container">
                                    <img alt="tab" class="tab" src="../../Style/Images/tab_right.png" />
                                    <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# "~/newsdetail.aspx?id="+ Eval("Id") %>'><%# Eval("TieuDe") %></asp:HyperLink>
                                </div>
                            </ItemTemplate>
                        </asp:DataList>
                    </td>
                </tr>
            </table>
            <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="GetByLoai"
                TypeName="IOBusiness.clsBSNews">
                <SelectParameters>
                    <asp:ControlParameter ControlID="HiddenField1" Name="loaiid" PropertyName="Value"
                        Type="Int32" />
                    <asp:QueryStringParameter Name="id" QueryStringField="id" Type="Int32" />
                </SelectParameters>
            </asp:ObjectDataSource>
            <asp:HiddenField ID="HiddenField1" runat="server" Value='<%# Eval("CateNewId") %>' />
        </div>
    </ItemTemplate>
</asp:DataList>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetById"
    TypeName="IOBusiness.clsBSNews">
    <SelectParameters>
        <asp:QueryStringParameter Name="id" QueryStringField="id" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>
<br />
